Optimal. Leaf size=134 \[ \frac{2 c^2 \cos (e+f x) (a \sin (e+f x)+a)^{7/2} \sqrt{c-c \sin (e+f x)}}{15 f}+\frac{c^3 \cos (e+f x) (a \sin (e+f x)+a)^{7/2}}{15 f \sqrt{c-c \sin (e+f x)}}+\frac{c \cos (e+f x) (a \sin (e+f x)+a)^{7/2} (c-c \sin (e+f x))^{3/2}}{6 f} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.263819, antiderivative size = 134, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 30, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.067, Rules used = {2740, 2738} \[ \frac{2 c^2 \cos (e+f x) (a \sin (e+f x)+a)^{7/2} \sqrt{c-c \sin (e+f x)}}{15 f}+\frac{c^3 \cos (e+f x) (a \sin (e+f x)+a)^{7/2}}{15 f \sqrt{c-c \sin (e+f x)}}+\frac{c \cos (e+f x) (a \sin (e+f x)+a)^{7/2} (c-c \sin (e+f x))^{3/2}}{6 f} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2740
Rule 2738
Rubi steps
\begin{align*} \int (a+a \sin (e+f x))^{7/2} (c-c \sin (e+f x))^{5/2} \, dx &=\frac{c \cos (e+f x) (a+a \sin (e+f x))^{7/2} (c-c \sin (e+f x))^{3/2}}{6 f}+\frac{1}{3} (2 c) \int (a+a \sin (e+f x))^{7/2} (c-c \sin (e+f x))^{3/2} \, dx\\ &=\frac{2 c^2 \cos (e+f x) (a+a \sin (e+f x))^{7/2} \sqrt{c-c \sin (e+f x)}}{15 f}+\frac{c \cos (e+f x) (a+a \sin (e+f x))^{7/2} (c-c \sin (e+f x))^{3/2}}{6 f}+\frac{1}{15} \left (4 c^2\right ) \int (a+a \sin (e+f x))^{7/2} \sqrt{c-c \sin (e+f x)} \, dx\\ &=\frac{c^3 \cos (e+f x) (a+a \sin (e+f x))^{7/2}}{15 f \sqrt{c-c \sin (e+f x)}}+\frac{2 c^2 \cos (e+f x) (a+a \sin (e+f x))^{7/2} \sqrt{c-c \sin (e+f x)}}{15 f}+\frac{c \cos (e+f x) (a+a \sin (e+f x))^{7/2} (c-c \sin (e+f x))^{3/2}}{6 f}\\ \end{align*}
Mathematica [A] time = 1.22532, size = 107, normalized size = 0.8 \[ \frac{a^3 c^2 \sec (e+f x) \sqrt{a (\sin (e+f x)+1)} \sqrt{c-c \sin (e+f x)} (600 \sin (e+f x)+100 \sin (3 (e+f x))+12 \sin (5 (e+f x))-75 \cos (2 (e+f x))-30 \cos (4 (e+f x))-5 \cos (6 (e+f x)))}{960 f} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.167, size = 116, normalized size = 0.9 \begin{align*} -{\frac{\sin \left ( fx+e \right ) \left ( -5\, \left ( \cos \left ( fx+e \right ) \right ) ^{6}+\sin \left ( fx+e \right ) \left ( \cos \left ( fx+e \right ) \right ) ^{4}-6\, \left ( \cos \left ( fx+e \right ) \right ) ^{4}+3\, \left ( \cos \left ( fx+e \right ) \right ) ^{2}\sin \left ( fx+e \right ) -8\, \left ( \cos \left ( fx+e \right ) \right ) ^{2}+11\,\sin \left ( fx+e \right ) -11 \right ) }{30\,f \left ( \cos \left ( fx+e \right ) \right ) ^{7}} \left ( -c \left ( -1+\sin \left ( fx+e \right ) \right ) \right ) ^{{\frac{5}{2}}} \left ( a \left ( 1+\sin \left ( fx+e \right ) \right ) \right ) ^{{\frac{7}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (a \sin \left (f x + e\right ) + a\right )}^{\frac{7}{2}}{\left (-c \sin \left (f x + e\right ) + c\right )}^{\frac{5}{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.1617, size = 266, normalized size = 1.99 \begin{align*} -\frac{{\left (5 \, a^{3} c^{2} \cos \left (f x + e\right )^{6} - 5 \, a^{3} c^{2} - 2 \,{\left (3 \, a^{3} c^{2} \cos \left (f x + e\right )^{4} + 4 \, a^{3} c^{2} \cos \left (f x + e\right )^{2} + 8 \, a^{3} c^{2}\right )} \sin \left (f x + e\right )\right )} \sqrt{a \sin \left (f x + e\right ) + a} \sqrt{-c \sin \left (f x + e\right ) + c}}{30 \, f \cos \left (f x + e\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \mathit{sage}_{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]